package com.ehome.poct.base.api.dto.banner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @description: 查询广告条件
 * @author: muqiu
 * @time: 2022/3/9 11:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("查询广告条件")
public class BannerPageDTO{

    @ApiModelProperty(value = "设备类型")
    private Integer deviceType;

    @ApiModelProperty(value = "广告名称")
    private String bannerName;

    @ApiModelProperty(value = "广告位置")
    private Integer bannerPosition;

    @ApiModelProperty(value = "广告状态")
    private Integer status;

    @ApiModelProperty(value = "生效时间")
    private LocalDateTime effectTime;

    @ApiModelProperty(value = "失效时间")
    private LocalDateTime invalidTime;

    @ApiModelProperty(value = "当前页")
    private Integer pageIndex;

    @ApiModelProperty(value = "分页大小")
    private Integer pageSize;
}
